using System;
using System.Collections.Generic;
using SqlSugar;
using OfficeOpenXml.Attributes;

namespace ZR.Model.Models
{
    /// <summary>
    /// 资源管理，数据实体对象
    ///
    /// @author admin
    /// @date 2022-08-13
    /// </summary>
    [SugarTable("resource")]
    public class Resource
    {
        /// <summary>
        /// 描述 :编号 
        /// 空值 : false  
        /// </summary>
        [EpplusTableColumn(Header = "编号")]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 描述 :资源名称 
        /// 空值 : true  
        /// </summary>
        [EpplusTableColumn(Header = "资源名称")]
        public string Name { get; set; }

        /// <summary>
        /// 描述 :资源描述 
        /// 空值 : true  
        /// </summary>
        [EpplusTableColumn(Header = "资源描述")]
        public string Description { get; set; }

        /// <summary>
        /// 描述 :后缀名 
        /// 空值 : true  
        /// </summary>
        [EpplusTableColumn(Header = "后缀名")]
        public string FileType { get; set; }

        /// <summary>
        /// 描述 :资源相对路径 
        /// 空值 : true  
        /// </summary>
        [EpplusTableColumn(Header = "资源相对路径")]
        public string Path { get; set; }

        /// <summary>
        /// 描述 :Android 
        /// 空值 : true  
        /// </summary>
        [EpplusTableColumn(Header = "Android")]
        public string PathAndroid { get; set; }

        /// <summary>
        /// 描述 :IOS 
        /// 空值 : true  
        /// </summary>
        [EpplusTableColumn(Header = "IOS")]
        public string PathIOS { get; set; }

        /// <summary>
        /// 描述 :IOS 
        /// 空值 : true  
        /// </summary>
        [EpplusTableColumn(Header = "IOS")]
        public string PathPC { get; set; }

        /// <summary>
        /// 描述 :版本号 
        /// 空值 : false  
        /// </summary>
        [EpplusTableColumn(Header = "版本号")]
        public int Version { get; set; }



    }
}